import setting from '@/setting'

function getTitle(name: string) {
  let str = `${setting.title}`
  if (name) {
    str = `${setting.title}-${name}`
  }
  return str
}

export default getTitle
